{% extends "forum/base.html" %}

{% load i18n %}

{% block body %}

{% if code_message %}
<div class="space">
    <strong><h3>{{code_message}}</h3></strong>
</div>
{% endif %}

{% if form.errors %}
<div class="space">
    <div class="error">Login or password didn't match. Try again.</div>
</div>
{% endif %}

<form action="?next={{next}}" method="post">
    
    <ul class="lista plain_form">
        {% for field in form %}
        <li class="clearfix">
            <div class="span-3 large" style="text-align: center">{{field.label_tag}}</div>
            {{field}}
        </li>
        {% endfor %}
        <li>
            <button type="submit">{% trans "Send" %}</button>
        </li>
    </ul>
    
</form>

{% endblock body %}